How to solve programming problems using logic? [closed]

Posted by md nth on Programmers See other posts from Programmers or by md nth
Published on 2012-12-18T15:30:32Z Indexed on 2012/12/18 17:14 UTC
Read the original article Hit count: 105

Filed under:

I know these principles:

  • Define the constrains and operations,eg constrains are the rules that you cant pass and what you want determined by the end goal, operations are actions you can do, "choices" .

  • Buy some time by solving easy and solvable piece.

  • Halving the difficulty by dividing the project into small goals and blocks.

  • The more blocks you create the more hinges you have.

  • Analogies which means : using other code blocks, yours or from other programmers . which has problem similar to the current problem.

  • Experiments not guessing by writing "predicted end" code, in other word creating a hypothesis, about what will happen if you do this or that.

  • Use your tools first, don't begin with a unknown code first.

  • By making small goals you ll not get frustrated.

  • Start from smallest problem.

Are there other principles?

© Programmers or respective owner

Related posts about thinking